package 链表;
public class Node {
    Object data;
    Node next;

    public Node(Node nextval){
        this.next=nextval;
    }
    public Node(Object obj,Node nextval){
        this.data = obj;
        this.next = nextval;
    }
}
